#ifndef _GMAP_H_
	#define _GMAP_H_

#include <SDL.h>
#include <vector>

#include "GTile.h"
#include "SDLSurface.h"

class GMap
{
public:
	SDL_Surface* Surf_Tileset;

public:
	GTile* GetTile(int X, int Y);

private:
	std::vector<GTile> TileList;

public:
	GMap();
	~GMap();

public:
	//Loads a map from a file, and populates the TileList
	bool OnLoad(char* File);
	//Properly puts each tile on the screen and draws them using the Surf_Tileset
	void OnRender(SDL_Surface* Surf_Display, int MapX, int MapY);
};

#endif

